package com.atguigu.springcloud;

import cn.hutool.log.Log;
import cn.hutool.log.LogFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;

/**
 * @author timiv
 */
@SpringBootApplication
@EnableHystrixDashboard
public class HystrixDashboard9001 {

    private static final Log LOG = LogFactory.get();

    public static void main(String[] args) {
        SpringApplication.run(HystrixDashboard9001.class,args);
        LOG.info("\n====hystrix dashboard {}","http://localhost:9001/hystrix");
    }
}
